/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package edu.lnu.ums.dal.impl;
import javax.ejb.Stateless;

import edu.lnu.ums.dal.IMonthsDAO;
import edu.lnu.ums.entities.dictionaries.Months;


/**
 *
 * @author Orysia
 */
@Stateless
public class MonthsDAO extends GenericDictionaryDAO<Months> implements IMonthsDAO{

    public MonthsDAO() {
        super(Months.class);
    }

    @Override
    public String getByNameQuery() {
        return "from Months where name like :name";
    }

    @Override
    public String getOrderByQuery() {
        return "order by name";
    }

}
